package xcc.design.demo.template;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * Description： TODO
 * Date： 2020/6/8 11:19
 *
 * @author changchun.xue
 */
@RequestMapping("/clean")
@RestController
public class CleanHouseController {

    @Resource(name = "husband")
    private AbstractCleanHourse husbandClean;


    @GetMapping("/begin")
    public void clean() {
        husbandClean.clean();
    }
}
